package com.yxinsur.imc.business.form;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yxinsur.imc.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

/**
 * 代理人角色关系信息form对象
 *
 * @author imc
 * @date 2021-03-18
 */
@Data
@ToString
public class BrokerRoleForm
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID")
    private String id;

    @ApiModelProperty("代理人工号")
    private String brokerCode;

    @ApiModelProperty("代理人姓名")
    private String brokerName;


    @ApiModelProperty("本人角色Id")
    private Long roleId;

    @ApiModelProperty("代理人身份角色生效日期起")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date brokerRoleStart;

    @ApiModelProperty("代理人身份角色生效日期止")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date brokerRoleEnd;
}
